package com.jumi.microservice.domain.dto;

import com.jumi.microservice.common.base.AbstractObject;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 部门数据传输对象
 *
 * @author Administrator
 */
public class DepartmentDTO extends AbstractObject implements Serializable {

    /**
     * id
     */
    Long id;

    /**
     * 部门名称
     */
    private String departmentName;

    /**
     * 显示排序:排序的取值范围0-999
     */
    private Integer orderNum;

    /**
     * 状态，1启用，0.禁用
     */
    private Integer status;

    /**
     * 是否删除:0:否,1:是
     */
    private Integer isDel;

    /**
     * 父部门ID
     */
    private Long parentId;

    /**
     * 添加人
     */
    private String creater;

    /**
     * 添加时间
     */
    private LocalDateTime createTime;

    /**
     * 修改人
     */
    private String modifier;

    /**
     * 修改时间
     */
    private LocalDateTime updateTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    public Integer getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getIsDel() {
        return isDel;
    }

    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getCreater() {
        return creater;
    }

    public void setCreater(String creater) {
        this.creater = creater;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public String getModifier() {
        return modifier;
    }

    public void setModifier(String modifier) {
        this.modifier = modifier;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "DepartmentDTO{" +
                "id=" + id +
                ", departmentName='" + departmentName + '\'' +
                ", orderNum=" + orderNum +
                ", status=" + status +
                ", isDel=" + isDel +
                ", parentId=" + parentId +
                ", creater='" + creater + '\'' +
                ", createTime=" + createTime +
                ", modifier='" + modifier + '\'' +
                ", updateTime=" + updateTime +
                '}';
    }
}
